<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?python
    from turbogears import identity
?>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:xi="http://www.w3.org/2001/XInclude"
      xmlns:py="http://genshi.edgewall.org/">
    <xi:include href="../master.html" />


<head>
    <!--<meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>-->
    <title>Object removing</title>
</head>

<body>
    <h4>Can't delete the object since it directly linked with:</h4>
    <span py:for="title in direct_references">${title}<br/></span>

    <h4>Full tree of dependencies:</h4>
    <span py:for="title in all_references">${title}<br/></span>

    <br />
    <span py:if="identity.has_any_permission('dba', 'destroyCascade')">
        ${ET(delete_form.display())}
    </span>
    <span>${ET(tg.back_widget())}</span>
</body>
</html>
